﻿using System.Windows.Forms;

namespace Bankomat.UserInterface
{
    public partial class Form1 : Form
    {
        private Controller myController;
        public Form1()
        {
            InitializeComponent();

            Display monitor = new Display( this.centerLabel, this.leftLabel1,this.leftLabel2, this.leftLabel3, this.leftLabel4, 
                this.rightLabel1, this.rightLabel2, this.rightLabel3, this.rightLabel4, this.buttonCardReader);
            myController = new Controller(monitor, this.buttonLeft1, this.buttonLeft2, this.buttonLeft3, this.buttonLeft4, this.buttonRight1,
                this.buttonRight2, this.buttonRight3, this.buttonRight4, this.buttonCardReader, this.buttonCancel);
            myController.State.DisplayState(monitor);

        }

        private void Form1_Load(object sender, System.EventArgs e)
        {

        }
    }
}
